write in code
英
美
[网络] 写代码
双语例句
- The easiest way to find out is to write a small set of JUnit tests in Java code rather than in Scala, so let's do that.
最简单的方法是用Java代码而不是Scala编写一组小型的JUnit测试,所以接下来我们就这样做。 - We write our code in such a way that some other piece of code is responsible for selecting which implementation of the Math interface our code will use
我们以特定的方式编写另一段代码,使其负责选择代码将要使用的Math接口实现 - As you write custom XML documents into entries in the audit log, you also must provide the complementary code that reads these audit entries and interprets the data within these XML documents.
当我们在实体的审计日志中写入自定义的XML文档时,必然决定我们还需要补充一部份代码,用于阅读这些审计实体并解释出其中XML文档部分的数据。 - You can write a simple script in any other language that returns a similar response to test the JavaScript code.
您可以以其他任何语言编写一个简单的脚本,返回一个类似的响应来测试JavaScript代码。 - When you write your test cases first, you get in the habit of writing only enough code to make the test case pass.
在编写测试用例时,您养成了很好的测试习惯,即只编写运行测试用例所需的最少代码。 - Code analyzers, refactoring tools and automated refactorings, formatters and more, are difficult, if not impossible, to write in Ruby, because there is no way to parse Ruby source with Ruby code.
用Ruby写代码分析、重构工具和自动重构、格式程序等等甚至更多的工具并非不可能,但是很困难,因为还没有用Ruby代码分析Ruby源码的先例。 - It would, however, be very tedious and difficult to write all information in binary code.
把所有的信息都翻译成二进制码是十分枯燥和困难的。 - Some of the frameworks I've seen on the market allow developers to write their code in the back-end language, and the framework creates the front-end JavaScript code.
我在市场上看到的一些框架允许开发人员用后端语言编写代码,然后由框架创建前端JavaScript代码。 - Just as there are no rules that tell you exactly what comments to write in your code, there is no universal list of the "right" attributes.
正如没有哪条规则告诉你代码里的注释一定要怎么写才正确,也不存在“正确”属性的一个普适的列表。 - As with natural language, it is possible to write "sentences" in computer code that, although different in composition, convey the same meaning.
因为用自然语言,它可以编写计算机代码里的“句子”,虽然组分不同,但转达了相同的含义。
